<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="h3ttp://richfaces.org/rich"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
	xmlns:t="http://myfaces.apache.org/tomahawk">

<f:loadBundle basename="languages.quantri.login.messages_vn" var="my" />
<body>
<ui:composition template="/templates/default/template.xhtml">
	<ui:define name="body">
		<div align="center">
		<table width="284" border="0" cellpadding="0" cellspacing="0">
			<tr bgcolor="#fff;">
				<td><img
					src="${facesContext.externalContext.requestContextPath}/quantri/login/images/test_09.jpg"
					width="13" height="28" alt="" /></td>
				<td><img
					src="${facesContext.externalContext.requestContextPath}/quantri/login/images/test_10.jpg"
					width="47" height="28" alt="" style="width: 47px;" /></td>
				<td width="159" height="28"
					style="background: url(${facesContext.externalContext.requestContextPath}/quantri/login/images/test_11.jpg);"></td>
				<td width="66"><img
					src="${facesContext.externalContext.requestContextPath}/quantri/login/images/test_12.jpg"
					width="66" height="28" alt="" /></td>
				<td width="20"><img
					src="${facesContext.externalContext.requestContextPath}/quantri/login/images/test_13.jpg"
					width="20" height="28" alt="" /></td>
			</tr>
			<tr>
				<td width="13" height="73"
					style="background: url(${facesContext.externalContext.requestContextPath}/quantri/login/images/test_23.jpg) repeat-y;"></td>
				<td height="73" width="251" colspan="3"><h:form>
					<table border="0" cellpadding="0" cellspacing="0" align="center"
						width="250">
						<tr style="height: 16px;">
							<td class="InputLabel" align="right" width="95">Tên đăng
							nhập</td>
							<td><!--  
							<h:inputText value="#{user.userName}" id="j_username"  
								 styleClass="InputControl" required="true">
								 </h:inputText>--> 
								 
							<t:inputText id="j_username" forceId="true" value="#{user.userName}" styleClass="InputControl"/>
								 </td>
						</tr>


						<tr>
							<td colspan="4" height="5px"></td>
						</tr>


						<tr>
							<td align="right" class="InputLabel">Mật khẩu</td>
							<td><h:inputSecret value="#{user.password}"
								styleClass="InputControl" id="j_password" required="true">
							</h:inputSecret></td>
						</tr>
						<tr>
							<td colspan="4" height="5px"></td>
						</tr>
						<tr>
							<td>&nbsp;</td>
							<td width="12px" align="center" style="margin-top: 3px"><h:commandButton
								styleClass="Button" action="#{user.CheckLogin}"
								value="Đăng nhập">
							</h:commandButton></td>
						</tr>
					</table>
				</h:form></td>
				<td width="20" height="73"
					style="background: url(${facesContext.externalContext.requestContextPath}/quantri/login/images/test_27.jpg) repeat-y;"></td>
			</tr>
			<tr>
				<td width="13"><img
					src="${facesContext.externalContext.requestContextPath}/quantri/login/images/test_30.jpg"
					width="13" height="20" alt="" /></td>
				<td colspan="3"
					style="background: url(${facesContext.externalContext.requestContextPath}/quantri/login/images/test_32.jpg) repeat-x;"></td>
				<td width="20"><img
					src="${facesContext.externalContext.requestContextPath}/quantri/login/images/test_34.jpg"
					width="20" height="20" alt="" /></td>
			</tr>
		</table>
		</div>
	</ui:define>
</ui:composition>
</body>
</html>

